package com.example.renshiguanli.service.impl;

import com.example.renshiguanli.mapper.EmprpMapper;
import com.example.renshiguanli.pojo.Emprp;
import com.example.renshiguanli.service.EmprpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmprpServiceImpl implements EmprpService {
    @Autowired
    private EmprpMapper emprpMapper;
    @Override
    public List<Emprp> findAllEmprp() {
        return emprpMapper.findAllEmprp();
    }

    @Override
    public List<Emprp> query(String name) {
        return emprpMapper.query(name);
    }
}
